import Mock from 'mockjs';

let List = [];

for (let i = 0; i < 24; i++) {
    List.push({
        year: `${i.toString().padStart(2, '0')}:00:00`,
        pressure: Mock.Random.float(20, 100, 0, 2)
    });
}

export default {
    getData: () => {
        return {
            code: 20000,
            message: { List }
        };
    }
};
